<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         point="org.eclipse.ui.commands">
      <category
            name="eSourcetrail category"
            id="io.coati.category.eSourcetrail.id">
      </category>
      <command
            name="ActivateToken"
            categoryId="io.coati.category.eSourcetrail.id"
            id="io.coati.command.ActivateToken.id">
      </command>
   </extension>

   <extension
         point="org.eclipse.ui.handlers">
      <handler
            commandId="io.coati.command.ActivateToken.id"
            class="io.coati.eSourcetrail.core.handlers.ActivateToken">
      </handler>
   </extension>

   <extension
         point="org.eclipse.ui.menus">
      <!--<menuContribution-->
            <!--allPopups="false"-->
            <!--locationURI="menu:org.eclipse.ui.main.menu?after=additions">-->
         <!--<menu-->
               <!--id="io.coati.menu.eSourcetrail.id"-->
               <!--label="eSourcetrail">-->
            <!--<command-->
                  <!--commandId="io.coati.command.ActivateToken.id"-->
                  <!--icon="icons/coati_16.png"-->
                  <!--id="command.ActivateToken.menu.memonic.id"-->
                  <!--mnemonic="S">-->
            <!--</command>-->
         <!--</menu>-->
      <!--</menuContribution>-->
	  <menuContribution
			 locationURI="popup:org.eclipse.ui.popup.any">
         <menu
               icon="icons/coati_16.png"
               id="io.coati.popup.eSourcetrail.id"
               label="eSourcetrail">
            <command
                  commandId="io.coati.command.ActivateToken.id"
                  icon="icons/coati_16.png"
                  label="Send Location to Sourcetrail"
                  tooltip="Send current cursor position to Sourcetrail">
            </command>
         </menu>
      </menuContribution>
      <!--<menuContribution-->
            <!--locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">-->
         <!--<toolbar-->
               <!--id="toolbar.ActivateToken.id">-->
            <!--<command-->
                  <!--commandId="io.coati.command.ActivateToken.id"-->
                  <!--icon="icons/coati_16.png"-->
                  <!--tooltip="Send location to Sourcetrail"-->
                  <!--id="io.coati.toolbar.ActivateToken.id">-->
            <!--</command>-->
         <!--</toolbar>-->
      <!--</menuContribution>-->
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            class="io.coati.eSourcetrail.core.preferences.SourcetrailPreferencePage"
            id="io.coati.preferences.SourcetrailPreferencePage"
            name="Sourcetrail Perferences">
      </page>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer
            class="io.coati.eSourcetrail.core.preferences.PreferenceInitializer">
      </initializer>
   </extension>
   <extension point="org.eclipse.ui.startup">
     <startup class="io.coati.eSourcetrail.core.Startup"/>
   </extension>

</plugin>
